<?php
namespace app\common\validate;

use think\Validate;

class Login extends Validate
{
    protected $rule = [
        'username|用户名'  =>  'require|length:4,25',
        'password|密码' =>  'require|length:4,25',
    ];

}